package com.demo.entity.query;

import java.util.Date;

/**
 * @Description:帖子/文章表查询
 * @Date:2025-03-06
 * @author：author
*/
public class PostInfoQuery extends BaseQuery{

	/**
	 * 帖子/文章ID，主键，自增
	 */
	private Long postId;

	/**
	 * 发帖/写文章用户ID，外键
	 */
	private Long userId;

	/**
	 * 帖子/文章标题
	 */
	private String title;

	private String titleFuzzy;

	/**
	 * 帖子/文章内容
	 */
	private String content;

	private String contentFuzzy;

	/**
	 * 创建时间
	 */
	private Date createTime;

	private String createTimeStart;

	private String createTimeEnd;

	/**
	 * 最后更新时间
	 */
	private Date updateTime;

	private String updateTimeStart;

	private String updateTimeEnd;

	/**
	 * 状态：1正常、0已删除
	 */
	private Integer status;

	/**
	 * 文章类型：1-普通文章、2-教程、3-公告等
	 */
	private Integer articleType;

	/**
	 * 文章分类ID
	 */
	private Long categoryId;

	/**
	 * 文章标签，多个标签用逗号分隔
	 */
	private String tags;

	private String tagsFuzzy;

	/**
	 * 浏览次数
	 */
	private Integer viewCount;

	/**
	 * 点赞次数
	 */
	private Integer likeCount;

	/**
	 * 评论数
	 */
	private Integer commentCount;

	/**
	 * 是否推荐：1-推荐、0-不推荐
	 */
	private Integer isRecommend;

	/**
	 * 文章摘要或简介
	 */
	private String summary;

	private String summaryFuzzy;

	/**
	 * 是否允许评论：1-允许、0-不允许
	 */
	private Integer allowComment;

	/**
	 * 是否为草稿：1-草稿、0-正式发布
	 */
	private Integer isDraft;

	/**
	 * 文章字数统计
	 */
	private Integer wordCount;

	/**
	 * 封面分类
	 */
	private Integer coverType;

	/**
	 * 封面路径
	 */
	private String coverPath;

	private String coverPathFuzzy;

	private Boolean queryUserInfo;

	private String usernameFuzzy;

	private String username;


	public String getUsernameFuzzy() {
		return usernameFuzzy;
	}

	public void setUsernameFuzzy(String usernameFuzzy) {
		this.usernameFuzzy = usernameFuzzy;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Boolean getQueryUserInfo() {
		return queryUserInfo;
	}

	public void setQueryUserInfo(Boolean queryUserInfo) {
		this.queryUserInfo = queryUserInfo;
	}

	public void setPostId(Long postId) {
		this.postId = postId;
	}

	public Long getPostId() {
		return this.postId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTitle() {
		return this.title;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContent() {
		return this.content;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setArticleType(Integer articleType) {
		this.articleType = articleType;
	}

	public Integer getArticleType() {
		return this.articleType;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public Long getCategoryId() {
		return this.categoryId;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

	public String getTags() {
		return this.tags;
	}

	public void setViewCount(Integer viewCount) {
		this.viewCount = viewCount;
	}

	public Integer getViewCount() {
		return this.viewCount;
	}

	public void setLikeCount(Integer likeCount) {
		this.likeCount = likeCount;
	}

	public Integer getLikeCount() {
		return this.likeCount;
	}

	public void setCommentCount(Integer commentCount) {
		this.commentCount = commentCount;
	}

	public Integer getCommentCount() {
		return this.commentCount;
	}

	public void setIsRecommend(Integer isRecommend) {
		this.isRecommend = isRecommend;
	}

	public Integer getIsRecommend() {
		return this.isRecommend;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setAllowComment(Integer allowComment) {
		this.allowComment = allowComment;
	}

	public Integer getAllowComment() {
		return this.allowComment;
	}

	public void setIsDraft(Integer isDraft) {
		this.isDraft = isDraft;
	}

	public Integer getIsDraft() {
		return this.isDraft;
	}

	public void setWordCount(Integer wordCount) {
		this.wordCount = wordCount;
	}

	public Integer getWordCount() {
		return this.wordCount;
	}

	public void setCoverType(Integer coverType) {
		this.coverType = coverType;
	}

	public Integer getCoverType() {
		return this.coverType;
	}

	public void setCoverPath(String coverPath) {
		this.coverPath = coverPath;
	}

	public String getCoverPath() {
		return this.coverPath;
	}

	public void setTitleFuzzy(String titleFuzzy) {
		this.titleFuzzy = titleFuzzy;
	}

	public String getTitleFuzzy() {
		return this.titleFuzzy;
	}

	public void setContentFuzzy(String contentFuzzy) {
		this.contentFuzzy = contentFuzzy;
	}

	public String getContentFuzzy() {
		return this.contentFuzzy;
	}

	public void setCreateTimeStart(String createTimeStart) {
		this.createTimeStart = createTimeStart;
	}

	public String getCreateTimeStart() {
		return this.createTimeStart;
	}

	public void setCreateTimeEnd(String createTimeEnd) {
		this.createTimeEnd = createTimeEnd;
	}

	public String getCreateTimeEnd() {
		return this.createTimeEnd;
	}

	public void setUpdateTimeStart(String updateTimeStart) {
		this.updateTimeStart = updateTimeStart;
	}

	public String getUpdateTimeStart() {
		return this.updateTimeStart;
	}

	public void setUpdateTimeEnd(String updateTimeEnd) {
		this.updateTimeEnd = updateTimeEnd;
	}

	public String getUpdateTimeEnd() {
		return this.updateTimeEnd;
	}

	public void setTagsFuzzy(String tagsFuzzy) {
		this.tagsFuzzy = tagsFuzzy;
	}

	public String getTagsFuzzy() {
		return this.tagsFuzzy;
	}

	public void setSummaryFuzzy(String summaryFuzzy) {
		this.summaryFuzzy = summaryFuzzy;
	}

	public String getSummaryFuzzy() {
		return this.summaryFuzzy;
	}

	public void setCoverPathFuzzy(String coverPathFuzzy) {
		this.coverPathFuzzy = coverPathFuzzy;
	}

	public String getCoverPathFuzzy() {
		return this.coverPathFuzzy;
	}

}